class Animal{
    constructor(){
        this.name=name;
        this.sex=1;
    }
    say(){
        console.log("会说话");
    }
}


const fn = arg => {
    console.log(arg);
};

const res = [[0, 1, 2].reduce((prev, current) => prev + current, 0)];
console.log(...res);
export {res}